package org.jeecg.modules.music.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.api.dto.CommentDto;
import org.jeecg.modules.api.vo.comment.CommentVo;
import org.jeecg.modules.music.entity.MusComment;

import java.util.List;

public interface IMusCommentService extends IService<MusComment> {

    IPage<MusComment> getPageList(CommentVo commentVo);

    Boolean addComment(CommentVo commentVo);

    List<CommentDto> queryHotComments(String uid, Integer type, Integer limit, Integer offset);

    boolean removeComment(String uid, String userUid, String targetUid);
}
